export const SET_REMEMBER_ACCOUNT = "set_remember_account";
export const SET_TOKEN = "set_token";

type Types = typeof setRememberAccount | typeof setToken
export type ActionTypes = ReturnType<Types>

export function setRememberAccount(payload: boolean) {
  return {
    type: SET_REMEMBER_ACCOUNT,
    payload
  } as const
}
export function setToken(payload: number) {
  return {
    type: SET_TOKEN,
    payload
  } as const
}
